package com.northpool.operator.common.algorithm;

import java.util.LinkedHashMap;
import java.util.Map;

public class TestParamBuilder {
    private final Map<String, String> params;

    public TestParamBuilder(Map<String, String> params) {
        this.params = params;
    }

    public static TestParamBuilder aBuilder() {
        return new TestParamBuilder(new LinkedHashMap<>());
    }

    public TestParamBuilder param(String key, String value) {
        params.put(key, value);
        return this;
    }

    public Map<String, String> build() {
        return this.params;
    }
}
